package com.jiufen.Service;

import com.jiufen.Exception.RemainingStudentsException;
import com.jiufen.Pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DeptService {

     List<Dept> queryDeptAll();

     Integer deleteById(Integer id) throws RemainingStudentsException;

     Integer  addDept(Dept dept);

     Dept queryByDeptId(Integer id);

     Integer updateDeptById(Dept dept);

}
